<?php

use Drupal\shusy_team_company_apply\Entity\ShusyTeamCompanyApply;

function shusy_team_company_apply_shusy_team_company_apply_add_page() {
  $e = new ShusyTeamCompanyApply();
  module_load_include('inc', 'shusy_team_company_apply', 'shusy_team_company_apply.forms');
  return drupal_get_form('shusy_team_company_apply_shusy_team_company_apply_entity_form', $e, 'add');
}

function shusy_team_company_apply_shusy_team_company_apply_view_page(ShusyTeamCompanyApply $e) {
  return entity_view($e->entityType(), [$e]);
}

function shusy_team_company_apply_shusy_team_company_apply_edit_page(ShusyTeamCompanyApply $e) {
  module_load_include('inc', 'shusy_team_company_apply', 'shusy_team_company_apply.forms');
  return drupal_get_form('shusy_team_company_apply_shusy_team_company_apply_entity_form', $e, 'edit');
}

function shusy_team_company_apply_shusy_team_company_apply_delete_page(ShusyTeamCompanyApply $e) {
  module_load_include('inc', 'shusy_team_company_apply', 'shusy_team_company_apply.forms');
  return drupal_get_form('shusy_team_company_apply_shusy_team_company_apply_delete_form', $e);
}

function shusy_team_company_apply_clear_page() {
  module_load_include('inc', 'shusy_team_company_apply', 'shusy_team_company_apply.forms');
  return drupal_get_form('shusy_team_company_apply_clear_form');
}
